package com.yanqu.road.entity.config.musicroom;

import java.util.ArrayList;
import java.util.List;

public class MusicRoomBeautyInitAttrConfig {
    private int occupation;// 职业
    private int number; // 编号
    private List<Integer> attrList = new ArrayList<>();// 属性列表

    public MusicRoomBeautyInitAttrConfig(int occupation, int number) {
        this.occupation = occupation;
        this.number = number;
    }

    public int getOccupation() {
        return occupation;
    }

    public void setOccupation(int occupation) {
        this.occupation = occupation;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public List<Integer> getAttrList() {
        return attrList;
    }

    public void setAttrList(List<Integer> attrList) {
        this.attrList = attrList;
    }

    public int getAttr(int index) {
        if (index < attrList.size()) {
            return attrList.get(index);
        }
        return 0;
    }
}
